var _ = function (selector) {
    if (selector.indexOf(".") === 0) {
        return document.getElementsByClassName(selector.substring(1))
    } else if (selector.indexOf("#") === 0) {
        return document.getElementById(selector.substring(1))
    } else {
        return document.getElementsByTagName(selector)
    }
}

window._ = _